package com.erp.base.common.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

import com.erp.base.common.entity.File;

/**
 * 文件上传
 * @author whw
 */
@Mapper
public interface FileDao {

	File get(Long id);
	
	List<File> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(File file);
	
	int update(File file);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);
}
